<template>
  <common-page :common-ins="commonIns" :columns="COLUMNS">
    <dialog-form ref="dialog" @confirm="commonIns.dialogFn.confirm"></dialog-form>
  </common-page>
</template>

<script setup lang="ts" name="SiteModel">
import $api from '@/api/';
import { dialog, useCommon } from '@/hooks/common';
import CommonPage from '@/pages/common/page/index.vue';

import DialogForm from './components/DialogForm.vue';
import { COLUMNS } from './constants';

const API = $api.site.sitemodel;
const commonIns = useCommon({ API, page: false });
</script>
